package com.linln.modules.system.repository;

import com.linln.modules.system.domain.PatientClinicalInformationEntity;
import com.linln.modules.system.domain.PatientPersonalSituationEntity;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Date;
import java.util.List;

public interface RPatientPersonalSituationRepository extends JpaRepository<PatientPersonalSituationEntity,Long> {
    public PatientPersonalSituationEntity findByBah(String bah);

    public List<PatientPersonalSituationEntity> findAllByBah(String bah);

    public PatientPersonalSituationEntity findByBahAndCyrq(String bah, Date cyrq);
}
